import java.IOExpection;

import java.util.logging.*;

public class HandlerDemo{
	public static void main(String args[] throws IOExpection{
		Logger logger = Logger.getLogger(HandlerDemo.class.getName()):
		FileHander handler = new FileHandler("%h/config.log");
		handler.setLevel(Level.CONFIG);
		logger.addHandler(handler);
		logger.congfig("Logger 组态完成");
	}
}

